package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.domain.GtCitys;
import com.example.demo.service.GtCitysService;
import com.example.demo.mapper.GtCitysMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author z'z'w
 * @description 针对表【GT_CITYS】的数据库操作Service实现
 * @createDate 2023-06-23 20:48:30
 */
@Service
public class GtCitysServiceImpl extends ServiceImpl<GtCitysMapper, GtCitys>
        implements GtCitysService {

    @Autowired
    private GtCitysMapper gtCitysMapper;

    @Override
    public List<String> selectProvince() {
        return gtCitysMapper.selectProvince();
    }

    //足迹城市
    @Override
    public List<String> selectCity(String province) {
        return gtCitysMapper.selectCity(province);
    }
}




